import HomeView from '@/views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    meta: { label: '首页' },
    component: HomeView
  }, //首页
  {
    path: '/analysis',
    name: 'analysis',
    meta: { label: 'excel分析' },
    component: () => import('@/views/analysisExcel/AnalysisExcel.vue')
  }, //excel分析
  {
    path: '/mapLocation',
    name: 'mapLocation',
    meta: { label: '高德地图' },
    component: () => import('@/views/mapLocation/MapBase.vue')
  }, //地图
  {
    path: '/floderMenu',
    name: 'floderMenu',
    meta: { label: '文件菜单' },
    component: () => import('@/views/floderMenu/FloderMenu.vue')
  }, //文件菜单
  {
    path: '/faceDective',
    name: 'faceDective',
    meta: { label: '人脸识别' },
    component: () => import('@/views/faceDective/FaceDective.vue')
  }, //人脸识别
  {
    path: '/:pathMatch(.*)*',
    name: 'ErrorPage',
    component: () => import('@/views/error/ErrorPage.vue')
  } // 404页面
]
export default routes
